# !/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2025/9/22 17:45
# @Author  : Dell
# @File    : llm_config.py
# @Software: PyCharm
# @Desc    :基础配置文档
from langchain_openai import ChatOpenAI
from langchain_community.embeddings import DashScopeEmbeddings
llm = ChatOpenAI(model_name='qwen-plus', base_url="https://dashscope.aliyuncs.com/compatible-mode/v1", temperature=0.1,api_key="sk-7b4f290b1a3e42a1a9a1957fa44eff37")
embd=DashScopeEmbeddings(
    model="text-embedding-v1", dashscope_api_key="sk-7b4f290b1a3e42a1a9a1957fa44eff37"
)

